com.supermap.ar.areffect.preset
类 StripeLine
- java.lang.Object
-
- com.supermap.ar.areffect.preset.BaseShape
-
- com.supermap.ar.areffect.preset.Shape
-
- com.supermap.ar.areffect.preset.StripeLine
-
public class StripeLine extends Shape
带状线
-
-
嵌套类概要
-
从类继承的嵌套类/接口 com.supermap.ar.areffect.preset.BaseShape
BaseShape.MatType, BaseShape.Mode
-
-
构造器概要
构造器 构造器和说明 StripeLine(BaseShape.MatType matType)
构造方法
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 void
drawStripeLine(java.util.List<Point3D> pointList, float lineWidth)
绘制带状线void
drawStripeLine(Point3D pointA, Point3D pointB, float width)
绘制带状线AREffectElement
getParentElement()
获取父节点元素java.util.List<Point3D>
getStripeLinePoints()
获取线的顶点集float
getStripeLineRadius()
获取条带线圆角半径boolean
isExtension()
获取是否延伸void
setExtension(boolean extension)
设置是否延伸void
setParentNode(AREffectElement element)
设置父节点void
setParentNode(EffectView arView)
设置父节点void
setStripeLineRadius(float radius)
设置条带线圆角半径(大于等于线宽)-
从类继承的方法 com.supermap.ar.areffect.preset.Shape
clear, drawBuildingOneSide, drawBuildingOneSide, drawCube, drawCubeOutline, drawCustomMesh, drawCustomMesh, drawCylinder, drawCylinder, drawCylinder, drawHalfTorus, drawHorizontalPolygon, drawLine, drawLine, drawLine, drawPolygon, drawPolygon, drawPrism, drawQuadrangle, drawRegularPolygon, drawSphere, drawSphere, drawTorus
-
从类继承的方法 com.supermap.ar.areffect.preset.BaseShape
getColor, getColorRGBA, getMetallic, getRadius, getReflectance, getRoughness, getSelectionColor, getSelectionTextureMap, getShapeMaterial, getShapeStyle, getTextureMap, isRenderable, isSelected, isShadowCaster, isShadowReceiver, select, setColor, setColor, setColor, setMetallic, setRadius, setReflectance, setRenderable, setRoughness, setSelectionColor, setSelectionTextureMap, setShadowCaster, setShadowReceiver, setShapeStyle, setTextureMap, unSelect, updateMaterial
-
-
-
-
构造器详细资料
-
StripeLine
public StripeLine(BaseShape.MatType matType)
构造方法- 参数:
matType
- 材质类型(透明/不透明)
-
-
方法详细资料
-
drawStripeLine
public void drawStripeLine(Point3D pointA, Point3D pointB, float width)
绘制带状线- 参数:
pointA
-pointB
-width
-
-
drawStripeLine
public void drawStripeLine(java.util.List<Point3D> pointList, float lineWidth)
绘制带状线- 参数:
pointList
- 顶点集lineWidth
- 线宽
-
getStripeLinePoints
public java.util.List<Point3D> getStripeLinePoints()
获取线的顶点集- 返回:
-
getStripeLineRadius
public float getStripeLineRadius()
获取条带线圆角半径- 返回:
-
setStripeLineRadius
public void setStripeLineRadius(float radius)
设置条带线圆角半径(大于等于线宽)- 参数:
radius
-
-
isExtension
public boolean isExtension()
获取是否延伸- 返回:
-
setExtension
public void setExtension(boolean extension)
设置是否延伸- 参数:
extension
-
-
setParentNode
public void setParentNode(AREffectElement element)
设置父节点- 参数:
element
-
-
setParentNode
public void setParentNode(EffectView arView)
设置父节点- 参数:
arView
-
-
getParentElement
public AREffectElement getParentElement()
获取父节点元素- 返回:
-
-